home *** CD-ROM | disk | FTP | other *** search
/ AppleScript - The Beta Release / AppleScript - The Beta Release.iso / Developer Scripts / FileMaker Pro 2.0 AS Examples / Copy Data Demo / CopyFileAToFileB next >
Text File  |  1992-11-25  |  396b  |  9 lines

  1. tell application "FileMaker Pro"
  2.     Show (every Record of window "original" whose first Cell = "Fred")
  3.     Sort first Layout of window "Original" by Field "surname" of window "original"
  4.     copy (Record count in window "original") to x
  5.     repeat with i from 1 to x
  6.         copy Cell 1 thru Cell 8 of Record i of window "original" to recordx
  7.         make Record at window "Reduce" with data recordx
  8.     end repeat
  9. end tell